<div id="obsah">



    <?php echo form_open('auth/register') ?>

<div id="login_area">
    <p><h2>Registracia</h2></p>
    <form action="<?php echo base_url(); ?>" method="post">
        <table border="0" cellspacing="0" cellpadding="0">
            <?php echo $msg ?>
            <tr><th><label for="login">email </label></th>
                <td><input name="email" type="text" size="20" maxlength="30" id="login" value="" /></td></tr>
            <tr><th><label for="meno">meno:</label></th>
                <td><input name="meno" type="text" value="" id="Meno" /></td></tr>
            <tr><th><label for="priezvisko">priezvisko:</label></th>
                <td><input name="priezvisko" type="text" value="" id="Priezvisko"/></td></tr>
            <tr><th><label for="year">rocnik:</label></th>
                <td><input name="year" type="test" size="20" maxlength="20" id="year" /></td></tr>
            <tr><th><label for="password">heslo:</label></th>
                <td><input name="password" type="password" size="20" maxlength="20" id="password" /></td></tr>
            <tr><td>&nbsp;</td><td><input name="submit" type="submit" id="submit" value="Registruj" /></td></tr>
        </table>
    </form>

    <?php echo validation_errors('<p class="error">','</p>'); ?>
</div>
</div>